/*AyflEomXWyqCHfdTxzWda28l3meolO/dZ+j5HLZPjaw=*/
/*
 * @Descripttion:
 * @version:
 * @Author: Chendch
 * @Date: 2020-11-27 10:43:13
 * @LastEditors: Chendch
 * @LastEditTime: 2020-11-27 16:26:57
 */
import { createPage } from 'nc-lightapp-front';
import React, {Component} from 'react';
import ReactDOM from 'react-dom';
import SupplierGlbCard from '../../supplier_base/card/index';

/**
 * 供应商 全局节点
 * @author liupzhc
 *
 */
let config = {
    pagecode:"10140SUB_base",
    appid:'0001Z010000000002G42',
    appcode:'10140SUB',
    //oid:'0001Z81000000000CWIB',
    nodeType:'GLOBE_NODE',
    billType:'supplier_glb',
    supbabillType:'supbankacc_glb',
    title:'',/* 国际化处理： 供应商-全局*/
    pushCardUrl:'/card',
    pushListUrl:'/list',
}
const Supplier_Glb = createPage({
    initTemplate:{},
    billinfo:[
        {
            billtype: 'extcard',
            pagecode: config.pagecode,
            headcode: 'supplier_baseInfo_card',
            bodycode: ['suplinkman', 'supbankacc','supcountrytaxes','finance','purchase']
        },{
            billtype: 'card',
            pagecode: config.pagecode,
            headcode: 'accbasinfo',
            bodycode: 'bankaccsub'
        },{
            billtype: 'form',
            pagecode: config.pagecode,
            headcode: 'linkman'//联系人form
        },{
            billtype: 'form',
            pagecode: config.pagecode,
            headcode: 'createCust'//生成客户form
        },{
            billtype: 'form',
            pagecode: config.pagecode,
            headcode: 'associcust'//关联客户form
        },{
            billtype: 'form',
            pagecode: config.pagecode,
            headcode: 'supfinance_card'//财务信息form
        },{
            billtype: 'form',
            pagecode: config.pagecode,
            headcode: 'supstock_card'//采购信息form
        },{
            billtype: 'grid',
            pagecode: config.pagecode,
            bodycode: 'supaddress'//供应商发货地址grid
        },{
            billtype: 'form',
            pagecode: config.pagecode,
            headcode: 'linkmanRefer'//联系人参照form
        }
        // ,{
        //     billtype: 'grid',
        //     pagecode: config.pagecode,
        //     bodycode: 'supcountrytaxes'//供应商国家税类grid
        // }
    ]
})(SupplierGlbCard)

class SupplierCard extends Component{
    constructor(props){
        super(props);
    }
    render(){
        return(
            <Supplier_Glb {...config} {...this.props}/>
        );
    }
}
export default SupplierCard;

/*AyflEomXWyqCHfdTxzWda28l3meolO/dZ+j5HLZPjaw=*/
